<template>
  <div class="card">
    <h1>新页面</h1>
    <p>这是一个新的页面。</p>
    <router-link to="/" class="btn">返回首页</router-link>
  </div>
</template>

<script setup>

</script>

<style scoped>
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2980b9;
}
</style>